CUDA-OpenGL Interoperability to Visualize Electromagnetic Fields Calculated by FDTD
نویسندگان
چکیده
─ In this contribution, a compute unified device architecture (CUDA) implementation of a two-dimensional finite-difference time-domain (FDTD) program is presented along with the OpenGL interoperability to visualize electromagnetic fields as an animation while an FDTD simulation is running. CUDA, which runs on a graphics processing unit (GPU) card, is used for electromagnetic field data generation and image manipulation, while OpenGL is used to draw field distribution on the screen. Since CUDA and OpenGL both run on GPU and share data through common memory in the framebuffer, the CUDA-OpenGL interoperability is very efficient in visualization of electromagnetic fields. Step by step details of implementation of this interoperability are demonstrated. Index Terms ─ FDTD, GPGPU, visualization.
منابع مشابه
Electromagnetic Field Due to Lightning Strikes to Mountainous Ground
The produced electric and magnetic fields due to lightning strikes to mountainous ground are determined in this paper. For the sake of simplicity a cone-shaped ground with finite conductivity is assumed to represent a natural nonflat ground. By this assumption, we deal with an axillary symmetrical structure so we use the cylindrical 2D-FDTD to save the simulation memory and time, dramatically. ...
متن کاملAnalysis of 3-dimensional Electromagnetic Fields in Dispersive Media Using Cuda
This research presents the implementation of the FiniteDifference Time-Domain (FDTD) method for the solution of 3dimensional electromagnetic problems in dispersive media using Graphics Processor Units (GPUs). By using the newly introduced CUDA technology, we illustrate the efficacy of GPUs in accelerating the FDTD computations by achieving appreciable speedup factors with great ease and at no e...
متن کاملMixing Graphics and Compute for Real-Time Multiview Human Body Tracking
This paper presents an effective algorithm for 3D modelbased human motion tracking using a GPU-accelerated particle swarm optimization. The tracking involves configuring the 3D human model in the pose described by each particle and then rasterizing it in each camera view. In order to accelerate the calculation of the fitness function, which is the most computationally demanding operation of the...
متن کاملGPU-Accelerated Parallel Finite-Difference Time-Domain Method for Electromagnetic Waves Propagation in Unmagnetized Plasma Media
The finite-difference time-domain (FDTD) method has been commonly utilized in the numerical solution of electromagnetic (EM) waves propagation through the plasma media. However, the FDTD method may bring about a significant increment in additional run-times consuming for computationally large and complicated EM problems. Graphics Processing Unit (GPU) computing based on Compute Unified Device A...
متن کاملComputational Dosimetry on Contact Currents from Charged Human Body
Contact current, defined as indirect effects of electromagnetic fields, flows a human body when contacting with an object such as a metal structure at a different electric potential, and may stimulate muscle and peripheral nerve. Thus, numerical analyses of electric fields induced by contact currents in a human body have been performed. Computational methods and evaluations of effects of transi...
متن کامل